#ifndef COLLISIONOBJECT_H
#define COLLISIONOBJECT_H

#include <QDeclarativeItem>

class CollisionObject : public QDeclarativeItem
{
    Q_OBJECT

public:
    explicit CollisionObject(QDeclarativeItem *parent = 0)
        : QDeclarativeItem(parent) { }

    Q_PROPERTY(bool solid READ solid WRITE setSolid NOTIFY solidChanged)
    bool solid() { return m_Solid; }
    void setSolid(bool solid) { m_Solid = solid; emit solidChanged(solid); }

    Q_PROPERTY(bool debug READ debug WRITE setDebug NOTIFY debugChanged)
    bool debug() { return m_Debug; }
    void setDebug(bool debug) { m_Debug = debug; emit debugChanged(debug); }

signals:
    void solidChanged(const bool &solid);
    void debugChanged(const bool &debug);

public slots:

private:
    bool m_Solid;
    bool m_Debug;

};

#endif // COLLISIONOBJECT_H
